package com.redis.constant;

public interface OrderMQConstants {

    /**
     * 取消订单普通交换机名称
     */
    String CANCEL_ORDER_NORMAL_EXCHANGE = "cancel.order.normal.exchange";
    /**
     * 取消订单死信交换机名称
     */
    String CANCEL_ORDER_EXCHANGE = "cancel.order.exchange";
    /**
     * 取消订单队列名称
     */
    String CANCEL_ORDER_QUEUE = "cancel.order.queue";
    /**
     * 取消订单的路由key
     */
    String CANCEL_ORDER_ROUTING_KEY = "cancel.order.routing.key";
    /**
     * 取消订单的时间
     */
    Integer CANCEL_ORDER_TIME = 40000;

    /**
     * 取消订单死信队列名称
     */
    String CANCEL_ORDER_DEAD_QUEUE = "cancel.order.dead.queue";
    /**
     * 取消订单私信队列的路由key
     */
    String CANCEL_ORDER_DEAD_ROUTING_KEY = "cancel.order.dead.routing.key";


    /**
     * 订单自动收货普通交换机名称
     */
    String RECEIVED_ORDER_NORMAL_EXCHANGE = "received.order.normal.exchange";

    /**
     * 订单自动收货死信交换机名称
     */
    String RECEIVED_ORDER_EXCHANGE = "received.order.exchange";

    /**
     * 订单自动收货队列名称
     */
    String RECEIVED_ORDER_QUEUE = "received.order.exchange.queue";
    /**
     * 订单自动收货路由key
     */
    String RECEIVED_ORDER_ROUTING_KEY = "received.order.routing.key";
    /**
     * 订单自动收货的时间
     */
    Integer RECEIVED_ORDER_TIME = 10000;

    /**
     * 订单自动收货死信队列名称
     */
    String RECEIVED_ORDER_DEAD_QUEUE = "received.order.dead.queue";
    /**
     * 订单自动收货私信队列的路由key
     */
    String RECEIVED_ORDER_DEAD_ROUTING_KEY = "received.order.dead.routing.key";

    String DEAD_LETTER_EXCHANGE = "x-dead-letter-exchange";

    String DEAD_LETTER_ROUTING_KEY = "x-dead-letter-routing-key";

    String MESSAGE_TTL = "x-message-ttl";
}
